package com.hmall.search.pojo;

import lombok.Getter;

@Getter
public enum AggregationEnum {
    CATEGORY("category", "categoryAgg"),
    BRAND("brand", "brandAgg");

    private final String fieldName;
    private final String aggregationName;

    AggregationEnum(String fieldName, String aggregationName) {
        this.fieldName = fieldName;
        this.aggregationName = aggregationName;
    }
}
